<%--
  Created by IntelliJ IDEA.
  User: fire'ge
  Date: 2022/4/28
  Time: 16:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>商家中心</title>
    <link rel="stylesheet" href="/TakeawaySystem/css/Center.css" type="text/css">

</head>
<body>
<table id="name-label">
    <tr>
        <td>
            <form action="/TakeawaySystem/user/upLoadImg" method="post" enctype="multipart/form-data" >
                <img src="/TakeawaySystem/images/shop/${user.photo}" height="100" width="100">
                <br>
                <input type="file" name="img" accept="image/*" >
                <input type="submit" value="上传头像" >
            </form>
        </td>
        <td align="center" colspan="4">你好！${user.username}
            <br>
       收益:${user.money}
            <a href="/TakeawaySystem/user/refreshMoney">刷新</a>
            <a href="/TakeawaySystem/user/exitLogin">退出</a>
            <a href="/TakeawaySystem/jsp/UserComplaint.jsp">投诉</a></td>
    </tr>
</table>
<table>
    <tr>
        <td>
            <a href="/TakeawaySystem/business/checkShop">店铺管理</a>
        </td>
        <td>
            <a href="/TakeawaySystem/jsp/CreateShop.jsp">创建商店</a>
        </td>
        <td>
            <a href="/TakeawaySystem/business/checkBook">订单数量</a>
        </td>
    </tr>

</table>


</body>
</html>
